package cn.kshost.zqyg.client.user;

import cn.kshost.zqyg.model.entity.user.UserAddress;
import cn.kshost.zqyg.model.vo.common.Result;
import io.swagger.v3.oas.annotations.Operation;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@FeignClient(value = "service-user",path = "/api/user/userAddress/auth")
public interface UserAddressFeign {

    @GetMapping("/findUserAddressList")
    public Result findUserAddressList();

    @GetMapping("/getUserAddress/{id}")
     Result<UserAddress> findUserAddressById(@PathVariable("id") Long id);

}